<nz-select #nzselect [(ngModel)]="values" nzShowSearch nzAllowClear (ngModelChange)="select($event)" nzMode="multiple"
  nzPlaceHolder="请选择专业">
  <ng-container *ngFor="let nodechild of nodes">
    <nz-option *ngIf="!isLoading" [nzLabel]="nodechild.name" [nzValue]="nodechild.id"></nz-option>
  </ng-container>
  <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
    <i nz-icon nzType="loading" class="loading-icon"></i> Loading Data...
  </nz-option>
</nz-select>
